package feeinterface.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.ulwx.tool.DbUtils;

import feeinterface.modeldb.ServiceClassProvince;


public class ServiceClassProvinceDao {
	public static List<ServiceClassProvince>  getBy(int provinceid)throws Exception{
		
		String sql = "SELECT * FROM ServiceClassProvince WHERE " +
				" ProvinceID=? ";
		Map<Integer, Object> map = new HashMap<Integer, Object>();
		map.put(1, provinceid);
		List<ServiceClassProvince> list = DbUtils.doQueryClass(null, ServiceClassProvince.class,
				sql,map);
		return list;
	}
}
